﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseAuthRole.DTO.User
{
    public class UserLoginInfo
    {
        [JsonProperty("uid")]
        public string Uid { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("avatar")]
        public string Avatar { get; set; }

        [JsonProperty("phone")]
        public string Phone { get; set; }

        [JsonProperty("nickName")]
        public string NickName { get; set; }

        [JsonProperty("jobNumber")]
        public string JobNumber { get; set; }

        [JsonProperty("department")]
        public string Department { get; set; }

        [JsonProperty("title")]
        public string Title { get; set; }

        [JsonProperty("jobTitle")]
        public string JobTitle { get; set; }

        [JsonProperty("profession")]
        public string Profession { get; set; }

        [JsonProperty("feiShuUid")]
        public string FeiShuUid { get; set; }

        [JsonProperty("email")]
        public string? Email { get; set; }

        [JsonProperty("idCardNo")]
        public string? IdCardNo { get; set; }

        [JsonProperty("nationalityCode")]
        public string? NationalityCode { get; set; }

        [JsonProperty("nationality")]
        public string? Nationality { get; set; }

        [JsonProperty("gender")]
        public int? Gender { get; set; }

        [JsonProperty("jobState")]
        public int? JobState { get; set; }

        [JsonProperty("departmentId")]
        public string? DepartmentId { get; set; }

        [JsonProperty("topQualifications")]
        public string? TopQualifications { get; set; }

        [JsonProperty("nation")]
        public string? Nation { get; set; }

        [JsonProperty("nationPlace")]
        public string? NationPlace { get; set; }

        [JsonProperty("employeeType")]
        public string? EmployeeType { get; set; }

        [JsonProperty("company")]
        public string? Company { get; set; }

        [JsonProperty("loginName")]
        public string? LoginName { get; set; }

        [JsonProperty("actions")]
        public List<string> Actions { get; set; }

        public string? authtoken { get; set; }

        public UserLoginInfo()
        {
            Actions = new List<string>();
        }
    }
}
